package com.um.jdy.common.member.service;

import com.um.springboot.starter.orm.service.BaseEntityService;
import com.um.jdy.common.member.entity.po.Wallet;

/**
 * 服务接口：用户钱包流水表
 */
public interface WalletService extends BaseEntityService<Wallet> {

    /**
     * 获取用户余额
     * @param uid
     * @return
     */
    int getBalance(String uid,String comId);

    /**
     * 用户可提现余额
     * @param uid
     * @param comId
     * @return
     */
    int getCanCashoutBalance(String uid,String comId);
}
